<?php
/*
 * @Author: lokei
 * @Date: 2022-10-05 16:07:41
 * @LastEditors: lokei
 * @LastEditTime: 2022-10-05 16:08:48
 * @Description: 
 */
namespace App\Http\Controllers\Store\Contacts;

use App\Common\Tools\ResultTool;
use App\Http\Controllers\Controller;
use App\Models\Store\StoreModel;
use Illuminate\Http\Request;

class ContactsController extends Controller {
    public function getMobile(Request $request) {
        $store = StoreModel::where('id', '=', $request->input('store_id'))->first();
        $res = ResultTool::success();
        $res['data']['mobile'] = $store->contacts_mobile;
        return $res;
    }
}